<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../../tpl/head.jsp"%>
<link rel="stylesheet" href="statics/css/secondarytitle.css">
<link rel="stylesheet" href="statics/css/ExportBusiness/tpl/newupshipmentdetails.css">
<div class="layui-fluid">
    <div class="layui-card">
        <div class="header">
            <img class="img " src="statics/images/titheader.svg">
            <span>报关明细</span>
        </div>
        <div class="layui-card-body">
            <form class="layui-form" action="" lay-filter="editor-form" id="editor-form">

<%--                start--%>
    <dl class="layui-row sk_row">
        <dd class="layui-col-md3">
            <div class="layui-col-xs4 text-right padding-right">
                客户名称
            </div>
            <div class="layui-col-xs8"> <input type="text" name="customername" autocomplete="off" class="layui-input"></div>
        </dd>
        <dd class="layui-col-md3">
            <div class="layui-col-xs4 text-right padding-right">
                联系人
            </div>
            <div class="layui-col-xs8"> <input type="text" name="contact" lay-verify="required" autocomplete="off" class="layui-input"></div>
        </dd>
        <dd class="layui-col-md3">
            <div class="layui-col-xs4 text-right padding-right">
                出运日期
            </div>
            <div class="layui-col-xs8"> <input type="text" name="shdate" lay-verify="required|date" autocomplete="off" class="layui-input starttime" placeholder="年 - 月 - 日"></div>
        </dd>
        <dd class="layui-col-md3">
            <div class="layui-col-xs4 text-right padding-right">
                报关发票号
            </div>
            <div class="layui-col-xs8"><input type="text" name="invoicenumber" autocomplete="off" class="layui-input" lay-verify="required"></div>
        </dd>
        <dd class="layui-col-md3">
            <div class="layui-col-xs4 text-right padding-right">
                币种
            </div>
            <div class="layui-col-xs8"> <input type="text" name="currency" autocomplete="off" class="layui-input"></div>
        </dd>
        <dd class="layui-col-md3">
            <div class="layui-col-xs4 text-right padding-right">
                美元汇率
            </div>
            <div class="layui-col-xs8"> <input type="text" name="exchangerate" autocomplete="off" class="layui-input" lay-verify="required|number"></div>
        </dd>
        <dd class="layui-col-md3">
            <div class="layui-col-xs4 text-right padding-right">
                人民币汇率
            </div>
            <div class="layui-col-xs8"> <input type="text" name="rmbexchangerate" autocomplete="off" class="layui-input" lay-verify="required|number"></div>
        </dd>
        <dd class="layui-col-md3">
            <div class="layui-col-xs4 text-right padding-right">
                起运地
            </div>
            <div class="layui-col-xs8"> <input type="text" name="place" autocomplete="off" class="layui-input"></div>
        </dd>
        <dd class="layui-col-md3">
            <div class="layui-col-xs4 text-right padding-right">
                目的地
            </div>
            <div class="layui-col-xs8"> <input type="text" name="destination" autocomplete="off" class="layui-input"></div>
        </dd>
        <dd class="layui-col-md3">
            <div class="layui-col-xs4 text-right padding-right">
                运输方式
            </div>
            <div class="layui-col-xs8"><input type="text" name="modetransportation" autocomplete="off" class="layui-input"></div>
        </dd>
        <dd class="layui-col-md3">
            <div class="layui-col-xs4 text-right padding-right">
                结汇方式
            </div>
            <div class="layui-col-xs8">  <input type="text" name="settlementway" autocomplete="off" class="layui-input"></div>
        </dd>
        <dd class="layui-col-md3">
            <div class="layui-col-xs4 text-right padding-right">
                价格术语
            </div>
            <div class="layui-col-xs8"> <input type="text" name="priceterms" autocomplete="off" class="layui-input"></div>
        </dd>
        <dd class="layui-col-md3">
            <div class="layui-col-xs4 text-right padding-right">
                发票总额
            </div>
            <div class="layui-col-xs8"><input type="text" name="invoicetotalamount" autocomplete="off" class="layui-input" lay-verify="number"></div>
        </dd>
        <dd class="layui-col-md3">
            <div class="layui-col-xs4 text-right padding-right">
                制单日期
            </div>
            <div class="layui-col-xs8"><input type="text" name="mdate" lay-verify="date" autocomplete="off" class="layui-input starttime" placeholder="年 - 月 - 日"></div>
        </dd>
        <dd class="layui-col-md3">
            <div class="layui-col-xs4 text-right padding-right">
                销售合同号
            </div>
            <div class="layui-col-xs8"><input type="text" name="salescontractno" autocomplete="off" class="layui-input"></div>
        </dd>
        <dd class="layui-col-md3">
            <div class="layui-col-xs4 text-right padding-right">
                客户合同号
            </div>
            <div class="layui-col-xs8"> <input class="layui-input" type="text"  name="customercontractno" autocomplete="off"></div>
        </dd>
<%--        <dd class="layui-col-md3">--%>
<%--            <div class="layui-col-xs4 text-right padding-right">--%>
<%--                实际开除日期ATD--%>
<%--            </div>--%>
<%--            <div class="layui-col-xs8"><input type="text" name="actualdischargedateatd" id="actualdischargedateatd" lay-verify="date" autocomplete="off" class="layui-input starttime" placeholder="年 - 月 - 日"></div>--%>
<%--        </dd>--%>
<%--        <dd class="layui-col-md3">--%>
<%--            <div class="layui-col-xs4 text-right padding-right">--%>
<%--                进仓装柜日期--%>
<%--            </div>--%>
<%--            <div class="layui-col-xs8"> <input type="text" name="wldate" id="wldate" lay-verify="date" autocomplete="off" class="layui-input starttime" placeholder="年 - 月 - 日"></div>--%>
<%--        </dd>--%>
        <dd class="layui-col-md3">
            <div class="layui-col-xs4 text-right padding-right">
                报关单号
            </div>
            <div class="layui-col-xs8"> <input type="text" name="customsdeclaration" autocomplete="off" class="layui-input" lay-verify="number"></div>
        </dd>
        <dd class="layui-col-md3">
            <div class="layui-col-xs4 text-right padding-right">
                报关日期
            </div>
            <div class="layui-col-xs8">  <input type="text" name="cdate" lay-verify="date" autocomplete="off" class="layui-input starttime" placeholder="年 - 月 - 日"></div>
        </dd>
<%--        <dd class="layui-col-md3">--%>
<%--            <div class="layui-col-xs4 text-right padding-right">--%>
<%--                预计开船日期ETD--%>
<%--            </div>--%>
<%--            <div class="layui-col-xs8"> <input type="text" name="esetddate" id="esetddate" lay-verify="date" autocomplete="off" class="layui-input starttime" placeholder="年 - 月 - 日"></div>--%>
<%--        </dd>--%>
<%--        <dd class="layui-col-md3">--%>
<%--            <div class="layui-col-xs4 text-right padding-right">--%>
<%--                预计到达日期ETA--%>
<%--            </div>--%>
<%--            <div class="layui-col-xs8"><input type="text" name="endesetddate" id="endesetddate" lay-verify="date" autocomplete="off" class="layui-input starttime" placeholder="年 - 月 - 日"></div>--%>
<%--        </dd>--%>
        <dd class="layui-col-md3">
            <div class="layui-col-xs4 text-right padding-right">
                业务员
            </div>
            <div class="layui-col-xs8"> <input type="text" name="salesman" autocomplete="off"   class="layui-input" lay-verify="required"></div>
        </dd>
        <dd class="layui-col-md3">
            <div class="layui-col-xs4 text-right padding-right">
                业务模式
            </div>
            <div class="layui-col-xs8"><input type="text" name="businessmodel" autocomplete="off" class="layui-input"></div>
        </dd>
        <dd class="layui-col-md3">
            <div class="layui-col-xs4 text-right padding-right">
                签约公司
            </div>
            <div class="layui-col-xs8"> <input type="text" name="signingcompany" autocomplete="off" class="layui-input"></div>
        </dd>
        <dd class="layui-col-md3">
            <div class="layui-col-xs4 text-right padding-right">
                银行
            </div>
            <div class="layui-col-xs8"><input type="text" name="bank" autocomplete="off" class="layui-input"></div>
        </dd>
        <dd class="layui-col-md3">
            <div class="layui-col-xs4 text-right padding-right">
                操作员
            </div>
            <div class="layui-col-xs8"><input type="text" name="theoperator" autocomplete="off" class="layui-input"></div>
        </dd>
        <dd class="layui-col-md3">
            <div class="layui-col-xs4 text-right padding-right">
                报关系数
            </div>
            <div class="layui-col-xs8"><input type="text" id="coefficient" autocomplete="off" style="background-color: lightgray"  class="layui-input"  readonly="readonly"></div>
        </dd>
        <dd class="layui-col-md3">
            <div class="layui-col-xs4 text-right padding-right">
                是否走信保订单
            </div>
            <div class="layui-col-xs8"><input type="text" name="whetherCreditGuarantee" autocomplete="off" style="background-color: lightgray"  class="layui-input"  readonly="readonly"></div>
        </dd>
        <dd class="layui-col-md3">
            <div class="layui-col-xs4 text-right padding-right">
                信保订单金额USD
            </div>
            <div class="layui-col-xs8"><input type="text" name="creditGuaranteeAmount" autocomplete="off" style="background-color: lightgray"  class="layui-input"  readonly="readonly"></div>
        </dd>
    </dl>
<%--                over--%>

                <div class="layui-row">
                    <div class="layui-col-xs12">
                        <div class="layui-tab layui-tab-card">
                            <ul class="layui-tab-title">
                                <li class="layui-this">产品</li>
                                <li class="">附件</li>
                                <li class="">日志</li>
                            </ul>
                            <div class="layui-tab-content">
                                <div  class="layui-tab-item  layui-show">
                                    <table class="layui-table" id="storageproducts" lay-filter="storageproductstable"></table>
                                </div>
                                <div class="layui-tab-item">
                                    <table class="layui-table" id="attachment" lay-filter="attachmenttable"></table>
                                </div>
                                <div class="layui-tab-item"><table class="layui-table" id="otherwarehouselog" lay-filter="logtable"></table></div>
                            </div>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>


<div class="layui-upload" id="attachmentupload" style="display: none;padding: 10px">
    <a type="button" class="layui-btn layui-btn-normal" id="uploadfile">选择文件</a>
    <div class="layui-upload-list">
        <table class="layui-table">
            <thead>
            <tr><th>文件名</th>
                <th>大小</th>
                <th>状态</th>
                <th>操作</th>
            </tr></thead>
            <tbody id="uploadlist"></tbody>
        </table>
    </div>
    <a type="button" class="layui-btn" id="testListAction">开始上传</a>
</div>
<script type="text/html" id="attachmenteditor">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="download">下载</a>
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="submit">提交</a>
</script>
<script type="text/html" id="attachmenttoolbar">
    <a class="layui-btn" data-type="getCheckData" lay-event="uploadfile">上传</a>
</script>
<%@ include file="../../tpl/foot.jsp"%>
<script src="statics/js/ExportBusiness/tpl/viewcustomsdeclaration.js"></script>